package com.hyacinth.knife4jdemo.entity;

import io.swagger.v3.oas.annotations.media.Schema;

/**
 * @Author: Yun
 * @Date: 2025/5/16
 */
@Schema(name = "用户实体类")
public class User {

    @Schema(description = "用户账号", requiredMode = Schema.RequiredMode.REQUIRED)
    private String username;
    @Schema(description  = "密码",  requiredMode = Schema.RequiredMode.REQUIRED,$schema = "111")
    private String password;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
